﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Top.Api.Request;
using Top.Api.Response;

namespace TaoBaoServices
{
    public class UserAPI : BaseAPI
    {
        /// <summary>
        /// 查询卖家用户信息
        /// </summary>
        /// <param name="sessionKey"></param>
        /// <returns></returns>
        public UserSellerGetResponse GetUserSellerGetResponse(string sessionKey)
        {
            UserSellerGetRequest req = new UserSellerGetRequest();
            req.Fields = "user_id,nick,sex,seller_credit,type,has_more_pic,item_img_num,item_img_size,prop_img_num,prop_img_size,auto_repost,promoted_type,status,alipay_bind,consumer_protection,avatar,liangpin,sign_food_seller_promise,has_shop,is_lightning_consignment,has_sub_stock,is_golden_seller,vip_info,magazine_subscribe,vertical_market,online_gaming";
            return client.Execute(req, sessionKey);
        }
    }
}
